package com.walker.weixin.entity.message;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.walker.weixin.entity.BaseMessage;

import java.io.Serializable;
import java.util.Map;

/**
 * @Description:  文本消息
 * @ProjectName: wms_step
 * @Package: com.walker.weixin.entity.message
 * @ClassName: TextMessage
 * @Author: yangyl
 * @CreateDate: 2020-07-20 16:02
 */
@XStreamAlias("xml")
public class TextMessage extends BaseMessage implements Serializable {

    @XStreamAlias("Content")
    private String content;

    public TextMessage(Map<String,Object> reqMap, String content){
        super(reqMap,"text");
        this.content=content;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
